package se.wangs.singleton;

/**
 * -- coding: UTF-8 -- *
 *
 * @author wangs
 * @date 2023/12/6 11:23
 * @description 饿汉单例
 */
public class Singleton1 {
    private static final Singleton1 SINGLETON_INSTANCE = new Singleton1();

    private Singleton1() {}

    public static Singleton1 getSingletonInstance() {
        return SINGLETON_INSTANCE;
    }
}
